/*
 * Task.java
 *
 * Created on 05. Juni 2007, 03:21
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package sbc.corso;

import corso.lang.*;
import sbc.fact.*;
import sbc.util.*;

/**
 *
 * @author mustermark
 */
public abstract class Pipeable<E> extends CorsoConnectionHolder implements CorsoShareable, Identifiable {
    
    private String uid;
    
    //public abstract void workOn(E e) throws WorkException;
    //public abstract enum Education{};
            
    public Pipeable(String workerName) {
        uid = workerName;
    }
    public Pipeable() {}
    public String getUID() { return uid; }
    
    protected void setUID(String id) { uid = id; }
    
    public abstract void append(E e) throws CorsoException;
    public abstract E next() throws CorsoException;
}


